package com.fusion.ui.windows.viewshare;

/**
 * @author SwethaShivakumar 
 * Project: fusion
 * Date: Mar 21, 2009
 * URL: http://fusionwiki.co.cc
 * Mail Me At: shiva@fusionproject.co.cc
 */
public class ViewShareLoadingNode extends ViewShareFileNode {
    public ViewShareLoadingNode(ViewShareRootNode root, ViewShareTreeNode parent) {
        super("Loading...", root, parent);
    }

    protected int getShareBaseIndex() {
        return getParent().getShareBaseIndex();
    }

    protected String getFileItemPath() {
        return getParent().getFileItemPath()+getName();
    }

    public boolean isLeaf() {
        return true;
    }
}
